package com.yami.shop.dao;

import com.yami.shop.bean.model.UserAddress;

/**
 * @program: mall4jShop
 * @description: 用户地址
 * @author: zyw
 * @create: 2020-07-19 09:21
 **/
public interface UserAddressMapper {
    /**
     * 获取用户的地址
     *
     * @param userId
     * @return
     */
    String getUserAddress(String userId);

    int deleteByPrimaryKey(String userId);

    int insert(UserAddress record);

    int insertSelective(UserAddress record);

    UserAddress selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(UserAddress record);

    int updateByPrimaryKey(UserAddress record);
}
